<!--
Name: test_case_details_edit.tpl.html
Author: Philip D. Nichols (philipdnichols@gmail.com)
Description: Test Case details edit page for Artemis CS411 Project 1.
Last Modified: 10/20/2008
-->

<br />

<form action="edit.php" method="post" name="form">

<input name="type" type="hidden" value="test_case" />
<input name="action" type="hidden" value="edit" />
<input name="id" type="hidden" value="{TEST_CASE_ID}" />

<table width="600px" cellpadding="2" cellspacing="2" border="0" align="center">
	<tr>
    	<td colspan="3" align="center" class="table_title">Test Case #{TEST_CASE_ID} Details
        </td>
    </tr>
</table>

<br />

<table cellpadding="2" cellspacing="0" border="0" align="center" class="main_table" id="main_table">
  	<tr>
   		<td class="table_element_titles">ID
    	</td>
        
        <td class="table_cells" width="350px">{TEST_CASE_ID}
        </td>
    </tr>
        
    <tr>
        <td class="table_element_titles">Short Description
        </td>
        
        <td class="table_cells"><textarea name="tc_short_desc" cols="30" rows="4">{TEST_CASE_SHORT_DESCRIPTION}</textarea>
        </td>
    </tr>
    
    <tr>
        <td class="table_element_titles">Details
        </td>
        
        <td class="table_cells"><textarea name="tc_details" cols="30" rows="4">{TEST_CASE_DETAILS}</textarea>
        </td>
    </tr>
    
    <tr>
        <td class="table_element_titles">Requirements References
        </td>
        
        <td class="table_cells"><select name="rqd_references[]" size="5" multiple>
        							<!-- BEGIN requirements -->
                                	<option value="{REQUIREMENT_ID}" {REQUIREMENT_IDS_SELECTED} >{REQUIREMENT_ID_NAME}</option>
                                	<!-- END requirements -->
        						</select>
        </td>
  	</tr>
</table>

<br />

<table width="250px" cellpadding="2" cellspacing="2" border="0" align="center">
    <tr>
    	<td align="center">
        	<input name="save_changes" type="submit" value="Save Changes"
             onMouseOver="javascript:window.status='Save Changes';" onMouseOut="javascript:window.status='';" />
        </td>
        
        <td align="center"><input name="delete_test_case" type="submit" value="Delete Test Case"
        onMouseOver="javascript:window.status='Delete Test Case';" onMouseOut="javascript:window.status='';" />
        </td>
    </tr>
</table>

<br />

<table width="250px" cellpadding="2" cellspacing="2" border="0" align="center">
	<tr>
    	<td align="center"><a href="test_cases.php">Return to Test Cases</a>
        </td>
    </tr>
    
    <tr>
    	<td align="center"><a href="requirements.php">Project Requirements</a>
        </td>
    </tr>
</table>

</form>